package com.raj.sample;



import java.io.IOException;
import java.util.HashMap;


public class Snmpmain
{
  
  public static void main(String[] args) throws IOException
  {
	  
	  HashMap<String, String> hwalk = new HashMap<String, String>();
      // Put elements to the map
	  hwalk.put("ipaddr", new String("202.144.0.178"));
	  hwalk.put("oid", new String(".1.3.6.1.2.1.1"));
	  hwalk.put("communityString", new String("SiLsnmpRO"));
	  hwalk.put("version", new String("2"));
      
     Snmpwalk swalk = new Snmpwalk(hwalk);
     swalk.run();
     
	  
    }
  
  
}